<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0021)http://www.tmimi.com/ -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>童心比童装工厂店</title>
<script type="text/javascript">
	var _path = "http://www.tmimi.com/resources/";
</script>
<link type="text/css" rel="stylesheet" href="@{'/public/css/style.css'}" />
<link type="text/css" rel="stylesheet"
	href="@{'/public/css/sprite.css'}" />
<link type="text/css" rel="stylesheet" href="@{'/public/css/list.css'}" />
<link type="text/css" rel="stylesheet"
	href="@{'/public/css/global.css'}" />
<link type="text/css" rel="stylesheet"
	href="@{'/public/css/layout.css'}" />
<script type="text/javascript" src="@{'/public/js/jquery-1.5.2.min.js'}"></script>
<script language="javascript" type="text/javascript"
	src="@{'/public/js/common.js'}"></script>
<script language="javascript" type="text/javascript"
	src="@{'/public/js/jquery.lazyload.js'}"></script>
<script type="text/javascript" src="@{'/public/js/loader_modules.js'}"></script>
<script type="text/javascript" src="@{'/public/js/myAHAHlib.js'}"></script>
<script language="JavaScript" type="text/JavaScript">
	function MM_openBrWindow(theURL, winName, features) {
		window.open(theURL, winName, features);
	}
</script>
<script>
	function addfavorite() {
		if (document.all) {
			window.external.addFavorite('http://www.tmimi.com',
					'童心比童装——给宝贝一个甜蜜的童年！');
		} else if (window.sidebar) {
			window.sidebar.addPanel('童心比童装——给宝贝一个甜蜜的童年！',
					'http://www.tmimi.com', "");
		}
	}
</script>
<style type="text/css">
#concat {
	position: fixed;
	bottom: 0px;
	height: 52px;
	background: #fff;
	z-index: 2;
}
</style>
<script type="text/javascript" src="@{'/public/js/yahoo-dom-event.js'}"></script>
<script type="text/javascript" src="@{'/public/js/nav.js'}"></script>
<script type="text/javascript" src="@{'/public/js/connection-min.js'}"></script>
</head>
<body>
	<div class="header_top">
		<div class="mod_content">
			<div class="yihao_ucenter" id="ul_notlog">
				<div class="left">您好，欢迎来到童心比童装！</div>
				<div class="right"
					style="line-height: 20px; height: 100%; padding-top: 3px;">
					<a href="http://ainibaby6.taobao.com/" target="_blank"><img
						src="@{'/public/images/tb.png'}" height="20" title="访问我们的淘宝店铺！" /></a>
				</div>
				<div class="clear"></div>
			</div>
		</div>
	</div>
	<div class="header_ucenter">
		<div
			style="float: left; width: 165px; padding: 0px 469px 0px 156px; height: 101px; overflow: hidden;">
			<a href="/" target="_blank"
				style="display: block; width: 165px; height: 101px;"></a>
		</div>
	</div>
	<!--大类-->
	<div class="header_nav_bg">
		<img src="@{'/public/images/header_navi.jpg'}" width="950" height="37"
			border="0" usemap="#Mapcat" />
		<map name="Mapcat" id="Mapcat">
			<area shape="rect" coords="226,5,293,31" href="@{Application.index}?type=boy"
				onfocus="this.blur();" title="查看更多男童装" />
			<area shape="rect" coords="140,5,207,31" href="@{Application.index}?type=girl"
				onfocus="this.blur();" title="查看更多女童装"></area>
			<area shape="rect" coords="67,5,118,31" href="/"
				onfocus="this.blur();"></area>
		</map>
	</div>
	<div class="clear"></div>
		<script type="text/javascript" src="@{'/public/js/MSClass.js'}"></script>
		<div class="width_950">
			<!-- 滚动flash-->
			<div class="line_space_top">
				<div class="mod_content">
					<div class="theme-slide">
						<!--热门分类-->
						<div class="clear"></div>
					</div>
					<!--女童系列-->
					#{if type == 'girl' || type != 'boy'}  
					<div class="broke_code_tab">
						<div>
							<div class="sprite_index sprite_index_girl index_tab_menu">
							</div>
							<div class="broke_code_tab_box">
								<div id="girl_TabContent">
									<!-- 全部显示 -->
									<div class="tmms_arrival">
										<div class="eweek_175" id="girlContent">
											#{itemsView items:girlItems /}
											<div class="clear"></div>
										</div>
									</div>
								</div>
							</div>
						</div>
						#{/if} #{if type == 'boy' || type != 'girl'}  
						<!--男童系列-->
						<div>
							<div class="broke_code_tab">
								<div class="sprite_index sprite_index_boy index_tab_menu">
								</div>
								<div class="broke_code_tab_box">
									<div id="boy_TabContent">
										<div class="tmms_arrival">
											<div class="eweek_175" id="boyContent">
												#{itemsView items:boyItems /}
												<div class="clear"></div>
											</div>
										</div>
									</div>
								</div>
							</div>
							#{/if}
							<!--翻页处理 -->
							#{if type == 'boy' || type == 'girl'} 
							<script type="text/javascript">
								var content = $("#boyContent");
								var type='1';
								if(content.length == 0)
								{
									content = $("#girlContent");
									type='2';
								}
								
								
								var fetch_url = "@{manager.ShopItemController.getListAsHtml}?type="+type+"&page=";
								var next_page = 2;
								var loading = false;
								var hasData = true;
								
								var loadingI=$("<div><img src='@{'/public/images/o_loading.gif'}'/></div>");
								loadingI.css("textAlign","center");
								
								function onScroll(event) {
								    // Check if we're within 100 pixels of the bottom edge of the broser window.
								    var closeToBottom = ($(window).scrollTop() + $(window).height() > $(document).height() - 100);
								    if(hasData && closeToBottom && !loading) {
								        // Get the first then items from the grid, clone them, and add them to the bottom of the grid.
										loading = true;
										content.append(loadingI);
										$.get(fetch_url + next_page, {}, function(html)
										{
											loadingI.remove();
											if(html==null || html.length==0)
											{
												hasData=false;
												return;
											}
											if(loading)
											{
								            	content.append($(html));
								    			next_page = next_page + 1;
												loading = false;
											}
										});
								    }
								};
								$(window).bind('scroll', onScroll);
							</script>
							#{/if}
							<div class="clear"></div>
						</div>
						<div class="clear"></div>
						<div id="back_to_top" style="display: block;"></div>
						<script type="text/javascript">
							var waitinginfo = '<img src="@{'/public/images/o_loading.gif'}" style="padding:30px 450px;" width="32" height="32"/>';
							function getItems(cid, show_id) {
								var tab_menu_li = $('.index_tab_menu li');

								tab_menu_li.mouseover(function() {
									//alert($(this).attr("class"));
									$(this).addClass('selected hover')
											.siblings().removeClass(
													'selected hover');

								});
								var url = '/index.php?uri=content/items&cid='
										+ cid;
								callAHAH(encodeURI(url), show_id, waitinginfo);
							}
						</script>
						<script type="text/javascript">
							$(document)
									.ready(
											function() {
												$("#back_to_top").hide();
												$(window)
														.scroll(
																function() {
																	var a = $(
																			window)
																			.scrollTop() + 500;
																	if ($(
																			window)
																			.scrollTop() > 100) {
																		$(
																				"#back_to_top")
																				.css(
																						"_top",
																						a
																								+ "px");
																		$(
																				"#back_to_top")
																				.fadeIn(
																						1500);
																	} else {
																		$(
																				"#back_to_top")
																				.fadeOut(
																						1500);
																	}
																});
												$("#back_to_top")
														.click(
																function() {
																	$(
																			'body,html')
																			.animate(
																					{
																						scrollTop : 0
																					},
																					1000);
																	return false;
																});
												$(".eweek_175 li .eweek_hover")
														.hover(
																function() {
																	$(this)
																			.css(
																					"border",
																					"1px solid #8f7051")
																},
																function() {
																	$(this)
																			.css(
																					"border",
																					"1px solid #ebebeb")
																})
											})
						</script>
						<div class="clear"></div>
						<div style="height: 50px;"></div>
						<div class="footer_ct" id="concat">
							<div class="yihao_help">
								<div
									style="width: 800px; color: #333333; font-weight: bold; margin: 0; height: 30px;">
									<table>
										<tr>
											<td align="right">淘宝客服一：</td>
											<td align="left"><a target="_blank"
												href="http://amos.im.alisoft.com/msg.aw?v=2&uid=%E4%B8%89%E5%98%B4%E5%85%94&site=cntaobao&s=1&charset=utf-8"><img
													border="0" align="middle"
													src="http://amos.im.alisoft.com/online.aw?v=2&uid=%E4%B8%89%E5%98%B4%E5%85%94&site=cntaobao&s=1&charset=utf-8"
													alt="旺旺联系" /></a></td>
											<td align="right">淘宝客服二：</td>
											<td align="left"><a target="_blank"
												href="http://amos.im.alisoft.com/msg.aw?v=2&uid=%E7%8B%AC%E8%88%9E%E6%A2%A6%E7%9A%84%E5%BC%80%E5%A7%8B&site=cntaobao&s=1&charset=utf-8"><img
													border="0" align="middle"
													src="http://amos.im.alisoft.com/online.aw?v=2&uid=%E7%8B%AC%E8%88%9E%E6%A2%A6%E7%9A%84%E5%BC%80%E5%A7%8B&site=cntaobao&s=1&charset=utf-8"
													alt="旺旺联系" /></a></td>
											<td align="right">QQ客服一:</td>
											<td align="left"><a
												href="http://wpa.qq.com/msgrd?V=3&Uin=769211664&Site=爱你宝贝童装&Menu=yes"
												target="_blank"> <img src="@{'public/images/zx_qq.gif'}"
													align="middle" alt="有事Q我" border="0"
													style="display: inline;" /></a></td>
											<td align="right">QQ客服二:</td>
											<td align="left"><a
												href="http://wpa.qq.com/msgrd?V=3&Uin=374908285&Site=爱你宝贝童装&Menu=yes"
												target="_blank"> <img src="@{'public/images/zx_qq.gif'}"
													align="middle" alt="有事Q我" border="0"
													style="display: inline;" />
											</a></td>
										</tr>
									</table>
								</div>
							</div>
						</div>
						<script type="text/javascript"
							src="@{'/public/js/global.source.js'}"></script>
						<script type="text/javascript"
							src="@{'/public/js/home.source.js'}"></script>
					<img src="@{'/public/images/grey.gif'}" width="0" height="0"
						style="left: -9999px; position: absolute;" />
				</div>
			</div>
		</div>
	</div>
</body>
</html>